import type { SourceVO } from "~/types/SourceVO"

export const useChannelId = () => useState<number>('channelIdCache', () => 0)

export const useConfig = () => useState<SourceVO>('config', () => ({
    name: '资源名称',
    url: 'https://cj.lziapi.com/api.php/provide/vod/',
    jx_url: 'https://sljxsl.com/?url=',
    exclude_channel_ids: [1, 2, 3, 4, 5],
    exclude_video_ids: []
}))